Process lines in text file

<#> 
<#> This sample process lines in text file
<#> 
<cmds>

<var_oper>(vFile,"",SELECT_FILE,"Select File","", "0")
<if_str>("_vCanceled==1")<exitmacro><endif>

<data_load>("vbTemp_FileText","%vFile%","")
<if_str>("_vErr==NO")
   <var_oper>(vbTemp_NumOfLines,"vbTemp_FileText",TEXT_GET_NUMOFLINES,"","", "0")
   <begloop>(vbTemp_NumOfLines)
      <var_oper>(vbLine,"vbTemp_FileText",TEXT_GET_LINE,"_vLoopCounter","", "0")
      <msg>(-100,-100,"INSTEAD OF THIS MESSAGE, YOU CAN DO YOUR OWN FILE LINE PROCESSING.

Line number:
%_vLoopCounter%

Line content:
%vbLine%
","Message",1)
   <endloop>
<else>
   <msg>(100,100,"_vError","Error",1)
<endif>